package com.jz.community.moduleshopping.integralGoods.bean;

import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/7/9 09:16
 */
public class IntegralHistoryInfo {

    /**
     * _embedded : {"integraViews":[{"id":10,"couponName":null,"useStartDate":null,"useEndDate":null,"_links":"http://basic-goods-service:8012/gds/goods-sqrs/10","useDate":"2018-07-05 16:38:32","integral":22,"title":"鸡蛋卷","images":"http://goodspics.oss-cn-beijing.aliyuncs.com/1529375783432.jpg?Expires=1844735778&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=9gRg6rHYqj76boomJKdaoua%2FuXU%3D, http://goodspics.oss-cn-beijing.aliyuncs.com/1529375792354.jpg?Expires=1844735783&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=G1VWnyK9V0igemawyi4kRFQF5mU%3D"},{"id":1,"couponName":null,"useStartDate":null,"useEndDate":null,"_links":"http://basic-goods-service:8012/gds/goods-sqrs/1","useDate":"2018-07-05 16:36:17","integral":22,"title":"农夫山泉空泉水-社区人电商商品","images":"http://goodspics.oss-cn-beijing.aliyuncs.com/1528774977792.jpg?Expires=1844134973&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=mXxDrW1u%2FbZK5iMWz9AEomlBWh0%3D"},{"id":50,"couponName":"夏威夷果满100减25","useStartDate":"2018-05-01 17:00:11","useEndDate":"2018-07-27 16:59:48","_links":"http://coupon-service:8070/yhq/coupon-info/50","useDate":"2018-07-05 11:30:24","integral":99999,"title":null,"images":null},{"id":49,"couponName":"鸡蛋券满50减18","useStartDate":"2018-05-01 17:00:07","useEndDate":"2018-07-27 16:59:48","_links":"http://coupon-service:8070/yhq/coupon-info/49","useDate":"2018-07-05 10:04:18","integral":200,"title":null,"images":null}]}
     * _links : {"self":{"href":"http://api.shoppingyizhan.com/chn/convertibility-record?message=0&page=0&size=10"}}
     * page : {"size":10,"totalElements":4,"totalPages":1,"number":0}
     */

    private EmbeddedBean _embedded;
    private PageInfo page;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<IntegraViewsBean> integraViews;

        public List<IntegraViewsBean> getIntegraViews() {
            return integraViews;
        }

        public void setIntegraViews(List<IntegraViewsBean> integraViews) {
            this.integraViews = integraViews;
        }

        public static class IntegraViewsBean {
            /**
             * id : 10
             * couponName : null
             * useStartDate : null
             * useEndDate : null
             * _links : http://basic-goods-service:8012/gds/goods-sqrs/10
             * useDate : 2018-07-05 16:38:32
             * integral : 22
             * title : 鸡蛋卷
             * images : http://goodspics.oss-cn-beijing.aliyuncs.com/1529375783432.jpg?Expires=1844735778&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=9gRg6rHYqj76boomJKdaoua%2FuXU%3D, http://goodspics.oss-cn-beijing.aliyuncs.com/1529375792354.jpg?Expires=1844735783&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=G1VWnyK9V0igemawyi4kRFQF5mU%3D
             */

            private String id;
            private String couponName;
            private String useStartDate;
            private String useEndDate;
            private String _links;
            private String useDate;
            private String integral;
            private String title;
            private String icon;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCouponName() {
                return couponName;
            }

            public void setCouponName(String couponName) {
                this.couponName = couponName;
            }

            public String getUseStartDate() {
                return useStartDate;
            }

            public void setUseStartDate(String useStartDate) {
                this.useStartDate = useStartDate;
            }

            public String getUseEndDate() {
                return useEndDate;
            }

            public void setUseEndDate(String useEndDate) {
                this.useEndDate = useEndDate;
            }

            public String get_links() {
                return _links;
            }

            public void set_links(String _links) {
                this._links = _links;
            }

            public String getUseDate() {
                return useDate;
            }

            public void setUseDate(String useDate) {
                this.useDate = useDate;
            }

            public String getIntegral() {
                return integral;
            }

            public void setIntegral(String integral) {
                this.integral = integral;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }


            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }
        }
    }
}
